﻿@model PostDetailVM

@{
    ViewBag.Title = Model.Title + "-新闻资讯";

}
@section header{
    <meta name="keywords" content="@Model.Keyword" />
    <meta name="description" content="@Model.Description" />    
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/styles/default.min.css">
}

@section footer{
  
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.6.0/highlight.min.js"></script>
    <script>        
        hljs.initHighlightingOnLoad();
        $(function () {
            //当前菜单
            $("#nav li").removeClass("active").eq(3).addClass("active");
       })
    </script>

<script>window._bd_share_config = {
    "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": false, "bdPic": "", "bdStyle": "2", "bdSize": "16" },
    "share": {},
   // "image": { "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"], "viewText": "分享到：", "viewSize": "16" },
    "selectShare": {
        "bdContainerClass": null, "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"]
    }
}; with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];</script>


}
<div class="banner" style="background:url(/Content/Desktop/img/banner/6.jpg)  no-repeat center center;">
</div>



    <!-- BLOG   ================================================== -->
    <section class="container blog-page m-b-50">
      

        <div class="row article">
            <!-- MAIN -->
            <div class="col-xs-8">
                <header class="title">
                    <h2 class="animated flipInX">@Model.Title</h2>
                </header>
                <div class="note">
                    <div class="bdsharebuttonbox fr"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>


                    <ul>
                        <li>
                            发布日期：@Model.CreatedDate.ToLongDateString()
                        </li>
                        <li>
                            新闻类别： @Model.CategoryTitle
                        </li>
                        <li>
                            查看：@Model.ViewCount
                        </li>
                    </ul>



                </div>
                <div class="row">
                    <div class="col-md-12">
                        @Html.Raw(Model.Body)
                    </div>
                </div>
                <div class="comments">
                    <!-- 多说评论框 start -->
                    <div class="ds-thread" data-thread-key="@Model.Id" data-title="@Model.Title" data-url="http://www.nobleorange.co/blog/detail/@Model.Id"></div>
                    <!-- 多说评论框 end -->
                    <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
                    <script type="text/javascript">
                        var duoshuoQuery = { short_name: "nobleorange" };
                        (function () {
                            var ds = document.createElement('script');
                            ds.type = 'text/javascript'; ds.async = true;
                            ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
                            ds.charset = 'UTF-8';
                            (document.getElementsByTagName('head')[0]
                             || document.getElementsByTagName('body')[0]).appendChild(ds);
                        })();
                    </script>
                    <!-- 多说公共JS代码 end -->
                </div>
            </div>
            <div class="col-xs-4">
                <aside class="sidebar">
                    <div class="m-b-30">
                        @Html.Action("BlogList")
                    </div>
                    @Html.Action("RecommendPosts")
                </aside>
            </div>


        </div>
    </section>


